import request from '@/utils/request'

//获取审核任务分页列表
export function getUnauditTaskList(data) {
	return request({
		method: 'get',
		url: 'flowApi/queryRunTask',
		params: data
	})
}

//获取审核任务分页列表
export function getAuditedTaskList(data) {
	return request({
		method: 'get',
		url: 'flowApi/queryHisTask',
		params: data
	})
}

//获取当前流程状态
export function getCurrFlowInfo(data) {
	return request({
		method: 'post',
		url: 'flowApi/queryCurrentFlowInfo',
		data
	})
}